package com.jiazhong.mybatis.m6.mapper;

import com.jiazhong.mybatis.m6.bean.Emp;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface EmpMapper {
    @Select("select * from emp where state=1")
    List<Emp> findAll();
}
